package com.toplabs.unashu.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RecommendHotBlog implements Serializable {
    private static final long serialVersionUID = -3584671786239340872L;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String title;

    private String firstPicture;

    private Date createTime;

    private Integer views;
}
